package com.itheima.mapper;

import com.itheima.pojo.Setmeal;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface SetmealMapper {

    /**
     * 获取所有套餐信息
     * @return
     */
    @Select("select * from t_setmeal")
    List<Setmeal> selectAll();

    Setmeal findById(String id);
}
